IPGetConfigError


C Specification

#include <dolphin/ip.h>

s32 IPGetConfigError(IPInterface* interface);

Description

IPGetConfigError() gets the host configuration error code. The error code is a sticky code and is not cleared until IPClearConfigError() is called.

Arguments

interface Pointer to IPInterface to get the host configuration error code. Use NULL to specify the default network interface.

Return Values

IP_ERR_NONE Ok.
IP_ERR_DHCP_TIMEOUT Could not find any DHCP server.
IP_ERR_DHCP_EXPIRED The lease time of the assigned IP address is expired.
IP_ERR_DHCP_NAK The DHCP server rejected the configuration request.
IP_ERR_PPPoE_TIMEOUT Could not find any access concentrator.
IP_ERR_PPPoE_SERVICE_NAME The requested service-name request could not be honored.
IP_ERR_PPPoE_AC_SYSTEM The access concentrator experienced some error.
IP_ERR_PPPoE_GENERIC An unrecoverable error occured.
IP_ERR_LCP LCP negotiation error
IP_ERR_AUTH Authentication error
IP_ERR_IPCP IPCP negotiation error
IP_ERR_PPP_TERMINATED The access concentrator terminated the PPPoE session.
IP_ERR_ADDR_COLLISION Detected duplicate IP address in the network.
IP_ERR_LINK_DOWN Lost link pulses from the network. Check the wiring configuration for the adapter. IP_ERR_LINK_DOWN error is set when the link goes down that has been up.

See Also

IPClearConfigError(), IPGetLinkState()